// 创建首页表
const home_table =
    `CREATE TABLE IF NOT EXISTS home_table(
    id int NOT null AUTO_INCREMENT,
    title VARCHAR(100) NOT null COMMENT '标题',
    url VARCHAR(200) NOT null COMMENT '链接',
    create_time timestamp null DEFAULT  CURRENT_TIMESTAMP COMMENT '创建时间',
    update_time timestamp null DEFAULT  CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP  COMMENT '更新时间',
    des varchar(250) COMMENT '描述',
    PRIMARY KEY ( id )
)ENGINE=InnoDB  DEFAULT CHARSET=utf8;`;

module.exports = {
    home_table
}